app:
  version: {{ app_version | default("1.0.1") }}
  max-file-size: {{ max_file_size | default(2097152) }} # 2M
  package-timestamp: {{ package_timestamp | default(0) }}
  git-hash: {{ git_hash | default(0) }}
  upload-directory: {{ upload_directory | default("/Users/xxxx/test/upload") }}
  root-url: {{ root_url | default("http://localhost:8081") }}

server:
  port: {{ server_port | default(8080) }}

logging:
  file:
    name: {{ log_file_name | default("artifacts/logs/myapp.log") }}
  level:
    root: {{ log_level_root | default("ERROR") }}
    org:
      springframework: {{ log_level_spring | default("INFO") }}

spring:
  application:
    name: {{ application_name | default("manager1") }} # 应用程序的名称
  datasource:
    url: {{ datasource_url | default("jdbc:mysql://127.0.0.1:3306/bera?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8&autoReconnect=true&useSSL=false&allowPublicKeyRetrieval=true") }} # 数据库连接 URL
    username: {{ datasource_username | default("root") }} # 数据库用户名
    password: {{ datasource_password | default("123456") }} # 数据库密码
  web:
    resources:
      static-locations:
        - {{ static_location1 | default("file:/Users/xxxx/workspace/bera/berapay-tools/assets/beracode/manager/www") }}
        - {{ static_location2 | default("file:/Users/xxxx/test/upload") }}
{# 换行占位符 #}